package com.myhouse.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.myhouse.entity.Message;

public interface MessageService {
	////用户发评论 //房主回复评论
	void addMessage(Message message);
	List<Message> getMessageFromOrTo(@Param("fromUserId")Integer fromUserId,@Param("toUserId")Integer toUserId);	
	void updateMessage(Message message);
	List<Message> getMessage(int id);

}
